import request from '@/utils/request'

// 查询参数列表
export function listArticuloclase(query) {
  return request({
    url: '/goods/articuloclase/list',
    method: 'get',
    params: query
  })
}
// 查询参数详细
export function getArticuloclase(configId) {
  return request({
    url: '/goods/articuloclase/' + configId,
    method: 'get'
  })
}

// 新增参数配置
export function addArticuloclase(data) {
  return request({
    url: '/goods/articuloclase',
    method: 'post',
    data: data
  })
}

// 修改参数配置
export function updateArticuloclase(data) {
  return request({
    url: '/goods/articuloclase',
    method: 'put',
    data: data
  })
}

// 删除参数配置
export function delArticuloclase(configId) {
  return request({
    url: '/goods/articuloclase/' + configId,
    method: 'delete'
  })
}

